﻿using System;
using System.Reflection;

using RRRSRoguelike.Helpers;
using RRRSRoguelike.Managers;

namespace RRRSRoguelike
{
    /// <summary>
    /// Main entry point.
    /// </summary>
    class RRRSRogueLike
    {
        /// <summary>
        /// Main Entry Point
        /// </summary>
        /// <param name="args"></param>
        private static void Main(string[] args)
        {
        	
        	//Set localization for culture
        	Language.NewLanguage(Properties.Settings.Default.Culture);
        	
			//Save custom content folder to my documents if missing.
            Language.PrepareContentFolder(AppDomain.CurrentDomain.BaseDirectory);

            //Set width height and title of console.
            ConsoleSpecific.SetUpConsole("RRRSRogueLike" + " v" + Assembly.GetEntryAssembly().GetName().Version);            

            //Run the fun.
            GameManager.Instance.Run();
        
        }


    }
}

